package com.xgpro.domain.studycentre.entity;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;

/**
 * @author tx
 * @version 1.0
 * @date 2019/10/15 20:07
 */
@Data
@Table(name="t_plan")
public class Plan implements Serializable {

    /**
     * 主键id
     */
    @Id
    @KeySql(useGeneratedKeys = true)
    private Integer id;

    /**
     * 计划名称
     */
    private String planName;

    /**
     * 计划路径
     */
    private String filePath;

    /**
     * 计划年份
     */
    private Integer planYear;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 删除标记
     */
    private Integer ref;

    /**
     * 文件长度
     */
    @Transient
    private String fileLen;

    /**
     * 文件名称
     */
    @Transient
    private String fileName;
    @Transient
    private String agentId;
    @Transient
    private String appKey;

    @Transient
    private String appSecret;
    @Transient
    private String planFilePath;
    @Transient
    private String corpId;
}
